package com.aspose.cells;

class zmb implements com.aspose.cells.b.a.zi {
   private Series a;

   zmb(Series var1) {
      this.a = var1;
   }

   Series a() {
      return this.a;
   }

   int b() {
      return this.a.a();
   }

   int c() {
      return this.a.z();
   }

   public int compareTo(Object obj) {
      if (obj == null) {
         return -1;
      } else {
         zmb var2 = (zmb)obj;
         if (this.c() == var2.c() && this.b() == var2.b()) {
            return 0;
         } else if (this.c() > var2.c()) {
            return 1;
         } else if (this.c() > var2.c()) {
            return -1;
         } else {
            return this.b() > var2.b() ? 1 : -1;
         }
      }
   }
}
